<%--
  Created by IntelliJ IDEA.
  User: jerry
  Date: 15/1/31
  Time: 下午4:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<head>
    <jsp:include page="/pages/include/includeCSS.jsp" ></jsp:include>
    <title>customer add page</title>
</head>
<body>

<div class="page-loading-overlay">
    <div class="loader-2"></div>
</div>

<jsp:include page="/pages/admin/include/head_Settings-Pane.jsp"></jsp:include>
<jsp:include page="/pages/admin/include/leftPane.jsp"></jsp:include>

<jsp:include page="/pages/admin/include/includeHeadBar.jsp"></jsp:include>


<div class="page-title">

    <div class="title-env">
        <h1 class="title">客户添加</h1>
        <p class="description"> 客户信息录入 </p>
    </div>

    <div class="breadcrumb-env">

        <ol class="breadcrumb bc-1">
            <li>
                <a href="${pageContext.request.contextPath}"><i class="fa-home"></i>首页</a>
            </li>

            <li class="active">

                <strong><i class="fa-list"></i>客户添加</strong>
            </li>
        </ol>

    </div>

</div>


<!-- customer add context-->



<div class="panel panel-default">

    <div class="panel-heading">
        <div class="panel-title">
            客户录入
        </div>

        <small class="text-small pull-right" style="padding-top:5px;">
            <code>客户信息录入,为避免无效客户注意录入格式</code>
        </small>
    </div>

    <div class="panel-body">

        <form role="form" id="form1" method="post" class="validate" action="${pageContext.request.contextPath}/app/manager/addCustomerInfo" name="TCustomer">

            <div class="form-group">
                <label class="control-label">客户姓名</label>
                 <input type="text" class="form-control" name="customerName" data-validate="required" data-message-required="This is custom message for required field."  />

            </div>


            <div class="form-group">
                <label class="control-label">年龄</label>

                <input type="text" class="form-control" name="age" data-validate="maxlength[2]" placeholder="Maximum Length Field" />
            </div>

            <div class="form-group">
                <label class="control-label">联系电话1</label>

                <input type="text" class="form-control" name="cellphone1" data-validate="number" placeholder="Numeric Field" />
            </div>

            <div class="form-group">
                <label class="control-label">联系电话2</label>

                <input type="text" class="form-control" name="cellphone2" data-validate="number" placeholder="Numeric Field" />
            </div>





            <div class="form-group">
                <button type="submit" class="btn btn-success">录入</button>
                <button type="reset" class="btn btn-white">重置</button>
            </div>

        </form>

    </div>

</div>

        <script type="text/javascript">
            // Here is just a sample how to open chat conversation box
            jQuery(document).ready(function($)
            {
                var $chat_conversation = $(".chat-conversation");

                $(".chat-group a").on('click', function(ev)
                {
                    ev.preventDefault();

                    $chat_conversation.toggleClass('is-open');

                    $(".chat-conversation textarea").trigger('autosize.resize').focus();
                });

                $(".conversation-close").on('click', function(ev)
                {
                    ev.preventDefault();
                    $chat_conversation.removeClass('is-open');
                });
            });
        </script>


<!-- end -->








<jsp:include page="/pages/include/includeFooter.jsp"></jsp:include>
<jsp:include page="/pages/include/includeJavaScript.jsp"></jsp:include>

</body>
</html>
